#ifndef SELECTPASSDIALOG_H
#define SELECTPASSDIALOG_H

#include <QDialog>
#include <CryptoAgent.h>
#include <DataProvider.h>

namespace Ui {
class SelectPassDialog;
}

class SelectPassDialog : public QDialog
{
	Q_OBJECT

	CipherType::Enum _type;
	QString _pass;
	DataProvider* _provider;
	
public:
	explicit SelectPassDialog(DataProvider* provider, QWidget *parent = 0);
	~SelectPassDialog();

	CipherType::Enum getCipherType();
	QString getPass();
	
private:
	Ui::SelectPassDialog *ui;

public slots:
	void onChangePassView(bool state);
	void cipherSelected(int index);
	void onChangeShowDlg(bool state);
	void onOK();
};

#endif // SELECTPASSDIALOG_H
